package com.luckku.boot.model.entity;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;
import lombok.experimental.Accessors;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;

/**
 *
 * @author  luckku
 * @date 2021-12-18
 */

@Data
@Builder
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName ( "cart" )
public class Cart  implements Serializable {


	/**
	 * 店铺id
	 */
   	@TableField(value = "store_id" )
	private String storeId;

	/**
	 * 购物车id
	 */
   	@TableId(value = "cart_id" )
	private String cartId;

	/**
	 * 用户id
	 */
   	@TableField(value = "user_id" )
	private String userId;

	/**
	 * 商品id
	 */
   	@TableField(value = "goods_id" )
	private String goodsId;

	/**
	 * 商品数量
	 */
   	@TableField(value = "count" )
	private Long count;
}
